package com.cloud.dubbo.provider.entity;

import com.baomidou.mybatisplus.annotation.*;

@TableName(value = "stock")
public class Stock {
    @TableId(value = "stock_id", type = IdType.INPUT)
    private Integer stockId;

    @TableField(value = "quantity")
    private Integer quantity;

    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_STOCK_ID = "stock_id";

    public static final String COL_QUANTITY = "quantity";

    public static final String COL_STATUS = "status";

    /**
     * @return stock_id
     */
    public Integer getStockId() {
        return stockId;
    }

    /**
     * @param stockId
     */
    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    /**
     * @return quantity
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * @param quantity
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}